﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using System.Windows.Forms;

namespace SpaceArcade
{
    class Scene
    {
        public Bitmap gameBM;
        public bool IsActive = false;

        public Form GameForm
        {
            get;
            set;
        }

        public Background Background
        {
            get;
            protected set;
        }

        public Scene(Background bg, Form f)
        {
            this.Background = bg;           
            this.GameForm = f;
            this.gameBM = new Bitmap(GameForm.Width, GameForm.Height);            
        }

        public Scene() { }

        public virtual void SetBackGround(Background bg)
        {
            this.Background = bg;
        }

        public virtual void Draw()
        {
            this.Background.Draw(gameBM);            
        }

    }
}
